package com.hoshiibuy.brandcategory.service;

import com.hoshiibuy.brandcategory.entity.GoodsCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.brandcategory.entity.GoodsCategory;

/**
 * <p>
 * 商品类目表 服务类
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-04-30
 */
public interface GoodsCategoryService extends IService<GoodsCategory> {

    GoodsCategory getById(Long id);

    boolean save(GoodsCategory entity);

    boolean updateById(GoodsCategory entity);

    IPage<GoodsCategory> page(IPage<GoodsCategory> page, Wrapper<GoodsCategory> queryWrapper);
}
